/**
 * 应用方案
 * 路由
 */
const express = require("express");
const router = express.Router();
// 检验器
const { getApplicationSolutionList_validation, getApplicationSolutionDetail_validation, editApplicationSolution_validation } = require("../validators/applicationSolution");
// 控制器
const { getApplicationSolutionList, getApplicationSolutionDetail, editApplicationSolution, deleteApplicationSolution } = require("../controllers/applicationSolution");

router.get("/getApplicationSolutionList", getApplicationSolutionList_validation, getApplicationSolutionList); // 展会活动列表
router.get("/getApplicationSolutionDetail", getApplicationSolutionDetail_validation, getApplicationSolutionDetail); // 展会活动详情
router.post("/editApplicationSolution", editApplicationSolution_validation, editApplicationSolution); // 展会活动编辑
router.delete("/deleteApplicationSolution", getApplicationSolutionDetail_validation, deleteApplicationSolution); // 删除展会活动

module.exports = router;
